﻿#gauge-container * {
    box-sizing: border-box;
}

#gauge-container.not-applicable-risk .gauge-fill {
    border-color: #4B4F54;
}

#gauge-container.not-applicable-risk .gauge-number {
    color: #4B4F54;
}

#gauge-container.low-risk .gauge-fill {
    border-color: #003865;
}

#gauge-container.low-risk .gauge-number {
    color: #003865;
}

#gauge-container.unset-risk .gauge-fill {
    border-color: #75103C;
}

#gauge-container.unset-risk .gauge-number {
    color: #4B4F54;
}

#gauge-container.medium-risk .gauge-fill {
    border-color: #F1BE48;
}

#gauge-container.medium-risk .gauge-number {
    color: #F1BE48;
}

#gauge-container.high-risk .gauge-fill {
    border-color: #75103C;
}

#gauge-container.high-risk .gauge-number {
    color: #75103C
}

#gauge-container.high-risk, #gauge-container.medium-risk, #gauge-container.low-risk {
    cursor: pointer;
}

.gauge-circle {
    height: 5rem;
    width: 10rem;
    background-color: transparent;
    border-style: solid;
    border-width: 1rem;
}

.gauge-description-container {
    display: flex;
    align-content: center;
    justify-content: center;
    width: 350px;
    height: 1rem;
}

.gauge-background {
    border-top-left-radius: 6rem;
    border-top-right-radius: 6rem;
    border-bottom-style: none;
    border-color: #8C8985;
}

.gauge-fill {
    height: 5rem;
    width: 10rem;
    background-color: transparent;
    border-bottom-left-radius: 6rem;
    border-bottom-right-radius: 6rem;
    border-style: solid;
    border-width: 1rem;
    border-top-style: none;
    position: relative;
}

.gauge-component-container {
    position: absolute;
    height: 10rem;
    width: 10rem;
}


.gauge-component-bottom-container { /* For the gauge fill and the mask */
    display: flex;
    align-items: flex-end;
    width: 10rem;
    transition: 300ms ease all;
}

.mask {
    height: 5rem;
    width: 10rem;
    background-color: #f9f9f9;
    border-top: none;
}

.gauge-number-container {
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: flex-start;
}

.gauge-number {
    font-size: 4.5rem;
    font-family: Arial, Helvetica, sans-serif;
    margin: 0px;
    margin-top: 3.8rem;
    margin-block-end: -0.5rem;
    min-height: 3rem;
}

#gauge-column {
    display: none;
    float:left;
    margin-left:100px;
    height: 10rem;
    width: 30%;
}

.gauge-indicator-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.gauge-description {
    font-size: 1rem;
    font-weight: bold;
    font-family: Arial, Helvetica, sans-serif;
}

.zero-indicator {
    padding-top: 1rem;
    padding-left: 0.35rem;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
}

.ten-indicator {
    padding-top: 1rem;
    padding-right: 0.1rem;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
}

#gauge-container.risk-rating-1 .gauge-fill-container {
    transform: rotate(18deg);
}

#gauge-container.risk-rating-2 .gauge-fill-container {
    transform: rotate(36deg);
}


#gauge-container.risk-rating-3 .gauge-fill-container {
    transform: rotate(54deg);
}


#gauge-container.risk-rating-4 .gauge-fill-container {
    transform: rotate(72deg);
}

#gauge-container.risk-rating-5 .gauge-fill-container {
    transform: rotate(90deg);
}


#gauge-container.risk-rating-6 .gauge-fill-container {
    transform: rotate(108deg);
}


#gauge-container.risk-rating-7 .gauge-fill-container {
    transform: rotate(126deg);
}


#gauge-container.risk-rating-8 .gauge-fill-container {
    transform: rotate(144deg);
}

#gauge-container.risk-rating-9 .gauge-fill-container {
    transform: rotate(162deg);
}

#gauge-container.risk-rating-10 .gauge-fill-container {
    transform: rotate(180deg);
}

span.tooltip {
    font-family: Arial, Helvetica, sans-serif;
}

#RiskRatingConditions {
    margin-top: 30px;
}

.risk-rating-modal-list {
    font-weight: bold;
    padding-left: 10px;
    font-size: 11px;
}

#RiskRatingDialog {
    padding: 5px 30px;
}

#RiskRatingConditions.data-table td, #RiskRatingConditions.data-table th {
    padding: 10px 15px;
}

#RiskRatingConditions.data-table th {
    text-align: left;
}

#RiskRatingConditions.data-table td {
    vertical-align: text-top;
}
